Tramp fixes after running regression tests on Android
authorMichael Albinus <michael.albinus@gmx.de>
Wed, 6 Mar 2024 16:51:42 +0000 (17:51 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Wed, 6 Mar 2024 16:51:42 +0000 (17:51 +0100)
commitb12059e4c320f374735a9c00975ef12cb964043f
tree9d375ab818718f705c119189c4850b0ace9a591c
parent415604c7a77205d91254a271f0112f69729eb3a9
Tramp fixes after running regression tests on Android

* lisp/net/tramp-adb.el (tramp-adb-maybe-open-connection):
Unset environment variable PS2.

* lisp/net/tramp-androidsu.el (tramp-default-host-alist):
Don't add an entry; `tramp-default-host' is set properly.
(tramp-androidsu-maybe-open-connection): Don't set connection
property "remote-namespace" to nil, this is the default anyway.
Don't set connection property "remote-path", we use
connection-local values instead.  Unset environment variable PS2.
Dump shell options after setting all of them.
(tramp-androidsu-handle-make-process): Don't use hard-coded user "root".
(tramp-androidsu-connection-local-default-variables): New defvar.
Add it to connection-local profiles.
lisp/net/tramp-adb.el
lisp/net/tramp-androidsu.el